﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Master/AdminMaster.Master" AutoEventWireup="true"
    CodeBehind="CustomGoodsCheckList.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.BidProdManage.CustomGoodsCheckList"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="CustomGoodsCheckList.aspx">未审核的产品</a></li>
            <li><a href="CustomGoodsCheckedList.aspx">已审核的产品</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                &nbsp;产品名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtGoodsName" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblOutLook" runat="server" Text="规格型号："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtOutLook" runat="server"></asp:TextBox>
                            </td>
                             <td align="right">
                                <asp:Label ID="lblMaterial" runat="server" Text="材质："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMaterial" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblUnit" runat="server" Text="单位："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtUnit" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblPackUnit" runat="server" Text="包装单位："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtPackUnit" runat="server" MaxLength="5"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblProduceCompany" runat="server" Text="生产企业："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtProduceCompany_SC" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            
                            <td align="right">
                                <asp:Label ID="labAuditStatusMS" runat="server" Text="审核状态"></asp:Label> </td>
                            <td align="left">
                                 <asp:DropDownList ID="ddlAuditStatusMS" runat="server">
                                  </asp:DropDownList></td>
                            <td align="right">
                                提交机构：</td>
                            <td align="left">
                                 <asp:TextBox ID="txtHospitalName" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                地区：
                            </td>
                            <td align="left" colspan="3">
                                <asp:DropDownList ID="ddlProvice" runat="server">
                                    <asp:ListItem Value="">所在省</asp:ListItem>
                                </asp:DropDownList>
                                <asp:DropDownList ID="ddlCity" runat="server">
                                    <asp:ListItem Value="">所在城市</asp:ListItem>
                                </asp:DropDownList>
                                <asp:DropDownList ID="ddlCountry" runat="server">
                                    <asp:ListItem Value="">所在区县</asp:ListItem>
                                </asp:DropDownList>
                                &nbsp;
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <hz:HzButton ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" CssClass="searchbtn" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwBidDrug" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无符合条件的数据！" OnRowCommand="gvwBidDrug_RowCommand">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="GoodsName" HeaderText="产品名称" />
            <asp:BoundField DataField="Outlookc" HeaderText="规格型号" />
            <asp:BoundField DataField="Material" HeaderText="材质" NullDisplayText="无" />
            <asp:BoundField DataField="Unit" HeaderText="最小计量单位" />
            <asp:BoundField DataField="PackUnit" HeaderText="包装单位" />
            <asp:BoundField DataField="QualityLevel" HeaderText="产品类别" />
            <asp:BoundField DataField="LimitPrice" HeaderText="采购价格" Visible="false" />
            <asp:BoundField DataField="smmprice" HeaderText="零售价格" Visible="false" />
            <asp:BoundField DataField="CompanyName" HeaderText="生产企业" />
            <asp:BoundField DataField="note" HeaderText="配送企业" Visible="false" />
            <asp:BoundField DataField="HospitalName" HeaderText="提交机构" />
            <asp:BoundField DataField="AreaName" HeaderText="提交机构" />
            <asp:BoundField DataField="asbyms" HeaderText="盟市提交状态" Visible="false" /> 
            <asp:TemplateField HeaderText="中心审核状态">
                <ItemTemplate>
                    <%# FormatAuditStatus(Eval("AuditStatus"))%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="盟市审核状态">
                <ItemTemplate>
                    <%# FormatAuditStatus(Eval("AuditStatusMS"))%>
                </ItemTemplate>
                <HeaderStyle Width="80px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="提交时间">
                <ItemTemplate>
                    <asp:Label ID="Label2" runat="server" Text='<%# Bind("AddTime", "{0:yyyy-MM-dd}") %>'
                        ToolTip='<%# Bind("AddTime", "{0:yyyy-MM-dd HH:mm:ss}") %>'></asp:Label>
                </ItemTemplate>
                <HeaderStyle Width="80px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <hz:HzLinkButton ID="HzButton1" runat="server" OnClientClick='<%# GetURLScript("CustomGoodsDealCheck.aspx?ID="+Eval("ID")) %>'
                        CausesValidation="false" Text='<img src="../../lib/images/setting.gif" align="middle" alt="" >进入审核' OperateType="编辑" />
                </ItemTemplate>
                <HeaderStyle Width="80px" />
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>说明：<span>点击&quot;进入审核&quot; 进行产品的审核操作。</span></li>
        </ul>
    </div>
    <div class="listctrl">
        <%--<hz:HzButton ID="btnAdd" runat="server" OnClientClick="window.location='RegisterGoods.aspx';return false;"
            Text="添加新产品" CssClass="btn" Width="90px" ToolTip="添加新产品" />--%>
        <hz:HzButton ID="btnExport" runat="server" CssClass="btn" Text="导出Excel" OnClick="btnExport_Click" />
    </div>

    <script type="text/javascript" language="javascript">
        new PCAS("ctl00$ContentPlaceHolder1$ddlProvice", "ctl00$ContentPlaceHolder1$ddlCity", "ctl00$ContentPlaceHolder1$ddlCountry" <%=GetDefaultAreaString() %> );
    </script>

</asp:Content>
